home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-06-07 | 1.6 KB | 40 lines | [TEXT/ttxt] |
- Settings File = TestBed
- Script Name = InitConv
- Command Key =
- F-key =
- Menu = NO
- Button = NO
-
- 1 Remark "Initializes variables and terminal settings needed"
- 2 Remark "to make 'Do Conv' work properly."
- 3 Remark "====================================="
- 4 Remark "Make certain VT102 emulation is on,"
- 5 Remark "and auto wraparound as well."
- 6 Remark "====================================="
- 7 Set Term Param Type VT102
- 8 Set Term Param Auto Wraparound Yes
- 9 Remark "====================================="
- 10 Remark "VT100 code below erases entire screen!"
- 11 Remark "====================================="
- 12 Send Local to Screen "^[[2J"
- 13 Remark "====================================="
- 14 Remark "Draw a horizontal line to seperate the regions."
- 15 Remark "====================================="
- 16 Do Script * "DrawHorizLine"
- 17 Remark "====================================="
- 18 Remark "VT102 code to create a scroll region from"
- 19 Remark "screen lines 1 to 18."
- 20 Remark "====================================="
- 21 Send Local to Screen "^[[1;18r"
- 22 Remark "====================================="
- 23 Remark "Initialize variables that store cursor position."
- 24 Remark "====================================="
- 25 Set Variable inCursRow from Expression "=1"
- 26 Set Variable inCursCol from Expression "=1"
- 27 Set Variable outCursRow from Expression "=22"
- 28 Set Variable outCursCol from Expression "=1"
- 29 Remark "====================================="
- 30 Remark "'stopConv' when true stops execution of 'Do Conv.'"
- 31 Remark "====================================="
- 32 Set Variable stopConv from Expression "=false"
-